package net.sareweb.acab.session;

import net.sareweb.acab.entity.*;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;
import java.util.Arrays;

@Name("matchList")
public class MatchList extends EntityQuery<Match> {

	private static final String EJBQL = "select match from Match match";

	private static final String[] RESTRICTIONS = {};

	private Match match = new Match();

	public MatchList() {
		setEjbql(EJBQL);
		setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
		setMaxResults(25);
	}

	public Match getMatch() {
		return match;
	}
}
